<template>
  <div class="top_wrapper">
    <div class="left">
      <div class="back-btn">
        <img src="@/assets/image/back.png" alt="" />
      </div>
      <span>2025-04-01 15:00:00</span>
    </div>
    <p class="main-page-title">
      智慧AI消防运维监管平台（运维端） <span>东大智能集团办公楼 <i></i></span>
    </p>
    <div class="right">
      <div>
        <span>【2025年第一期】全国消防 安全系列培训新能源列培【2025年第一期】全国消防 安全系列培训新能源列培...</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  }
};
</script>
<style lang="scss" scoped>
@keyframes text-roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.top_wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  .left {
    position: absolute;
    left: 0;
    top: 0;
    height: px(48);
    width: 30%;
    display: flex;
    align-items: center;
    > span {
      display: flex;
      align-items: center;
      padding-left: px(22);
      color: #fff;
      font-size: px(14);
      &::before {
        display: inline-block;
        background: url('~@/assets/image/date.png') no-repeat center;
        background-size: 100% 100%;
        content: ' ';
        width: px(19);
        height: px(19);
        margin-right: px(8);
      }
    }
    .back-btn {
      width: px(69);
      display: flex;
      justify-content: center;
      border-right: 1px solid rgba(255, 255, 255, 0.299);
      img {
        width: px(22);
        height: px(22);
        object-fit: cover;
      }
    }
  }
  .right {
    position: absolute;
    right: px(20);
    width: px(380);
    // text-overflow: ellipsis;
    color: #fff;
    line-height: px(44);
    vertical-align: middle;
    height: px(40);
    overflow: hidden;
    // white-space: nowrap;
    padding-left: px(40);
    box-sizing: border-box;
    font-size: px(14);
    > div {
      width: px(340);
      overflow: hidden;
      > span {
        animation: text-roll 20s linear infinite;
        width: auto;
        text-wrap: nowrap;
        display: inline-block;
      }
    }
    &::before {
      content: '';
      display: inline-block;
      background: url('~@/assets/image/broad.png') no-repeat center;
      background-size: 100% 100%;
      width: px(21);
      height: px(25);
      position: absolute;
      left: px(0);
      top: px(13);
    }
  }
  .main-page-title {
    margin: 0;
    padding-top: px(12);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: px(29);
    // font-weight: bold;
    // font-style: italic;
    font-family: youshebiao;
    letter-spacing: px(2);
    background: linear-gradient(180deg, rgba(254, 255, 254, 1) 0%, rgba(108, 231, 255, 1) 60%);
    -webkit-background-clip: text;
    color: transparent;
    > span {
      display: inline-block;
      font-size: px(16);
      font-family: 'arial, "Hiragino Sans GB", "Microsoft Yahei", "΢���ź�", "����", 宋体, Tahoma, Arial, Helvetica, STHeiti';
      color: #fff;
      font-style: normal;
      margin-top: px(35);
      > i {
        display: inline-block;
        width: px(14);
        height: px(8);
        background: url('~@/assets/image/icon/arrow.png') no-repeat center;
        background-size: 100% 100%;
        margin-left: px(8);
      }
    }
  }
}
</style>
